package com.example.lottery.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam{

    @NotBlank(message = "手机号或者邮箱不能为空!")
    /*
    写成loginName 方便以后扩展
     */
    private String loginName;
    @NotBlank(message = "密码不能为空!")
    private String password;
}
